﻿#ifndef __lvgl_hint_H__
#define __lvgl_hint_H__

#include "lvgl.h"
#include "lvgl_Project.h"
#include "my_system.h"




typedef struct
{
	char *p_buf;

	lv_obj_t * cont_main;

	lv_anim_t anim_in;
	lv_anim_t anim_out;
	lv_anim_path_t anim_path_in;
	lv_anim_path_t anim_path_out;

	lv_task_t * lvgl_task;

	lv_obj_t * lvgl_Label_text;
	lv_obj_t * lvgl_btn_exit;

	int shijian;
	int DongHua_Flag;

	lv_point_t point;
	uint8_t delete_flag;

}_lvgl_hint_data;

extern _lvgl_hint_data lvgl_hint_data;




void lvgl_hint_create(lv_obj_t * Fu, char *text, uint8_t touming, uint8_t shijian);
void lvgl_hint_close(void);
void lvgl_hint_TaskCb(lv_task_t *t);
void lvgl_hint_set_top(void);

#endif


